package org.lessnote.server.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
@Data
@ApiModel(value = "索引文件")
public class DirFile {
    @ApiModelProperty(value = "文件名称")
    String name;

    @ApiModelProperty(value = "完整路径")
    String fullPath;

    @ApiModelProperty(value = "版本库")
    List<String> versions;

    @ApiModelProperty(value = "最新版本")
    String latest;

    @ApiModelProperty(value = "文件大小")
    Long size;

    @ApiModelProperty(value = "校验编码")
    String md5;

    @ApiModelProperty(value = "文件标签")
    List<String> tags;
}
